package com.wuliu.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 托寄物明细对象 tsp_order_detail
 * 
 * @author realue
 * @date 2023-10-24
 */
@ApiModel
public class TspOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 运单id */
    @Excel(name = "运单id")
    @ApiModelProperty(value = "运单id")
    private String orderId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    @ApiModelProperty(value = "物品名称")
    private String goodsName;

    /** 件数 */
    @Excel(name = "件数")
    @ApiModelProperty(value = "件数")
    private Integer goodsCnt;

    /** 重量 */
    @Excel(name = "重量")
    @ApiModelProperty(value = "重量")
    private BigDecimal goodsWeight;

    /** 体积 */
    @Excel(name = "体积")
    @ApiModelProperty(value = "体积")
    private BigDecimal goodsVolume;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsCnt(Integer goodsCnt) 
    {
        this.goodsCnt = goodsCnt;
    }

    public Integer getGoodsCnt() 
    {
        return goodsCnt;
    }
    public void setGoodsWeight(BigDecimal goodsWeight) 
    {
        this.goodsWeight = goodsWeight;
    }

    public BigDecimal getGoodsWeight() 
    {
        return goodsWeight;
    }
    public void setGoodsVolume(BigDecimal goodsVolume) 
    {
        this.goodsVolume = goodsVolume;
    }

    public BigDecimal getGoodsVolume() 
    {
        return goodsVolume;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("goodsName", getGoodsName())
            .append("goodsCnt", getGoodsCnt())
            .append("goodsWeight", getGoodsWeight())
            .append("goodsVolume", getGoodsVolume())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
